﻿using System;
using Bintje.bintje;

namespace System.Web.Security
{
    public class BintjeMembershipUser : MembershipUser
    {
        private int m_userId;
        //private string m_password;
        /*
        public string Password
        {
            get { return m_password; }
        }
        */
        
        public int userID 
        {
            get { return m_userId; }
        }

        public BintjeMembershipUser(string providername,
                                  string username,
                                  object providerUserKey,
                                  string email,
                                  string passwordQuestion,
                                  string comment,
                                  bool isApproved,
                                  bool isLockedOut,
                                  DateTime creationDate,
                                  DateTime lastLoginDate,
                                  DateTime lastActivityDate,
                                  DateTime lastPasswordChangedDate,
                                  DateTime lastLockedOutDate,
                                  int userId/*,
                                  string password*/) :
                                     base(providername,
                                        username,
                                        providerUserKey,
                                        email,
                                        passwordQuestion,
                                        comment,
                                        isApproved,
                                        isLockedOut,
                                        creationDate,
                                        lastLoginDate,
                                        lastActivityDate,
                                        lastPasswordChangedDate,
                                        lastLockedOutDate)

        {
            m_userId = userId;
            //m_password = password;
        }
    }
}
